import service from '../server'

// 用户镜像列表
export const getUserImageList = (data) => {
    return service.get('/api/v1/userimage/list', data)
}

// 用户镜像缓存
export const userimageCache = (data) => {
    return service.post('/api/v1/userimage/cache', data)
}

// 删除用户镜像
export const delUserimage = (data) => {
    return service.delete('/api/v1/userimage/delete', data)
}

// 修改镜像名称
export const updateUserimage = (data) => {
    return service.post('/api/v1/userimage/update', data)
}

